home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
wtj008.zip
/
OBJECTS.ZIP
/
TSTRINGS.H
< prev
next >
Wrap
Text File
|
1992-05-17
|
965b
|
40 lines
#if !defined( __TSTRINGS_H)
#define __TSTRINGS_H
#if !defined( __WINDOWS_H )
#include <windows.h>
#endif
#if !defined(EXPORT)
#define EXPORT _export
#endif
#if defined( __cplusplus )
extern "C" {
#endif /* __cplusplus */
typedef struct TString FAR *PString;
#if defined( __cplusplus )
typedef struct TString FAR &RString;
#else
typedef struct TString FAR *RString;
#endif
typedef struct TString
{
LPSTR sString;
LPSTR (FAR EXPORT PASCAL *sGetString)(RString sSelf);
void (FAR EXPORT PASCAL *sDone)(RString sSelf);
} TString;
extern int FAR EXPORT PASCAL TStringInit(LPSTR AString, RString sSelf);
//-Initialize an instance of a TString
//default "virtual member functions" for TString
extern LPSTR FAR EXPORT PASCAL TStringsGetString(RString sSelf);
extern void FAR EXPORT PASCAL TStringsDone(RString sSelf);
#if defined( __cplusplus )
}
#endif /* __cplusplus */
#endif /* __TSTRINGS_H */